package com.scut.online_black_market.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * create by yellowBroke on 2020年10月12日 17点17分
 * DTO ： data transfer object : 数据传输对象
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ProductInfo {

    @ApiModelProperty(value = "商品名称", name = "productName", example = "书包")
    private String productName;

    @ApiModelProperty(value = "商品价格", name = "productPrice",example = "10.0")
    private double productPrice;

    @ApiModelProperty(value = "校区", name = "campus", example = "南校")
    private String campus;

    @ApiModelProperty(value = "商品图片url", name = "productPictureLocation", example = "http://127.1.0.1:111111111111111111111111111111111.jpg")
    private String productPictureLocation;

    @ApiModelProperty(value = "商品描述", name = "productDescription", example = "是一个电脑包，能装下17.3寸的笔记本电脑")
    private String productDescription;

    @ApiModelProperty(value = "出售人Id", name = "sellManId", example = "201830130301")
    private String sellManId;
}
